package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.CwBlindBoxDrawRecord;

/**
 * 抽盒记录Service接口
 * 
 * @author hyx
 * @date 2024-11-22
 */
public interface ICwBlindBoxDrawRecordService 
{
    /**
     * 查询抽盒记录
     * 
     * @param recordId 抽盒记录主键
     * @return 抽盒记录
     */
    public CwBlindBoxDrawRecord selectCwBlindBoxDrawRecordByRecordId(Long recordId);

    /**
     * 查询抽盒记录列表
     * 
     * @param cwBlindBoxDrawRecord 抽盒记录
     * @return 抽盒记录集合
     */
    public List<CwBlindBoxDrawRecord> selectCwBlindBoxDrawRecordList(CwBlindBoxDrawRecord cwBlindBoxDrawRecord);

    /**
     * 新增抽盒记录
     * 
     * @param cwBlindBoxDrawRecord 抽盒记录
     * @return 结果
     */
    public int insertCwBlindBoxDrawRecord(CwBlindBoxDrawRecord cwBlindBoxDrawRecord);

    /**
     * 修改抽盒记录
     * 
     * @param cwBlindBoxDrawRecord 抽盒记录
     * @return 结果
     */
    public int updateCwBlindBoxDrawRecord(CwBlindBoxDrawRecord cwBlindBoxDrawRecord);

    /**
     * 批量删除抽盒记录
     * 
     * @param recordIds 需要删除的抽盒记录主键集合
     * @return 结果
     */
    public int deleteCwBlindBoxDrawRecordByRecordIds(Long[] recordIds);

    /**
     * 删除抽盒记录信息
     * 
     * @param recordId 抽盒记录主键
     * @return 结果
     */
    public int deleteCwBlindBoxDrawRecordByRecordId(Long recordId);
}
